package com.netease.b.a;

import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import com.netease.a.a.g;
import com.netease.pris.a.p;
import com.netease.pris.a.r;
import com.netease.pris.c.i;
import java.io.File;

public class v extends com.netease.framework.b.e
{
  String a;
  g b;
  int c;
  int d;

  protected v(String paramString, g paramg, int paramInt1, int paramInt2)
  {
    super(-2);
    this.a = paramString;
    this.b = paramg;
    this.c = paramInt1;
    this.d = paramInt2;
  }

  public static cls_v a(String paramString, g paramg, int paramInt1, int paramInt2)
  {
    return new cls_v(paramString, paramg, paramInt1, paramInt2);
  }

  public void c()
  {
    if (this.a.lastIndexOf("%local") > 0)
    {
      File localFile1 = new File(this.b.e());
      if (localFile1.exists())
      {
        Bitmap localBitmap1 = p.a(this.b.e());
        if (localBitmap1 != null)
        {
          g localg = this.b.b();
          Bitmap localBitmap2 = p.b(localBitmap1, this.c, this.d);
          if (localBitmap2 != null)
          {
            String str = r.a(this.a);
            File localFile2 = new File(localFile1.getParent(), str);
            p.a(localBitmap2, 75, localFile2, Bitmap.CompressFormat.JPEG);
            com.netease.a.a.e.c(localFile2);
            localBitmap2.recycle();
            localg.b(localFile2.length());
            i.a(d.h().a(), d.h().c(), str, localg);
            b localb = new b();
            localb.a = this.a;
            localb.c = null;
            c(0, localb);
          }
        }
      }
    }
    while (true)
    {
      return;
      d(0, this.a);
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.b.a.v
 * JD-Core Version:    0.6.0
 */